]> dgit.raspbian.org Git - gnome-shell.git/commit
iconGrid: Don't update pages in vfunc_allocate()
authorJonas Dreßler <verdre@v0yd.nl>
Tue, 23 Feb 2021 19:16:00 +0000 (20:16 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Mar 2021 17:59:15 +0000 (17:59 +0000)
commit0fd394d4ca531c14aa017f43d91a75c1fcfbfc5e
treebfdc245c2262899558cef16fa0b59b920152da0f
parent0978b87e65233ebb02e14173ed155ca71ea060b9
iconGrid: Don't update pages in vfunc_allocate()

vfunc_allocate() is a hot path, and we don't want to do expensive stuff
there, so avoid updating the pages, which seems unnecessary anyway.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1713>
js/ui/iconGrid.js